package com.zzh.takeoutapp.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/7/31.
 */

public class HomeShopEntity  implements Serializable {


    /**
     * data : {"items":[{"waimai":{"shop_id":"63","cate_id":"20","title":"定旺厨具","logo":"http://www.juh365.com/attachs/photo/201805/20180515_7DDF4DF4772096D0932B3553A5385487.jpg","orders":"0","comments":"0","score":"0","min_amount":"5","freight":"3","pei_type":"0","pei_time":"30","yy_status":"1","is_new":"0","delcare":"所有商品不包安装，不含税票，非质量问题不予退换，谢谢理解！","lat":"24.771164","lng":"115.029953","orderby":"50","yysj_status":"1","yyst":"1","juli":"1489.85","juli_label":"1.5km","avg_score":"0","huodong":[{"title":"首单立减10元","word":"首","color":"20AD20"}]},"products":[{"product_id":"9587","photo":"http://www.juh365.com/attachs/photo/201807/20180730_5D57AE7A106E37AA89351C37CC4C4292.gif_thumb.jpg","price":"11.00"}]},{"waimai":{"shop_id":"34","cate_id":"12","title":"宏涛家禽加工厂","logo":"http://www.juh365.com/attachs/photo/201805/20180510_07D6007808A8E61D05400F16B11135FD.jpg","orders":"3","comments":"1","score":"5","min_amount":"16","freight":"2","pei_type":"0","pei_time":"10","yy_status":"0","is_new":"1","delcare":"","lat":"24.784410","lng":"115.027845","orderby":"50","yysj_status":"1","yyst":"0","juli":"0","juli_label":"<100m","avg_score":"5","huodong":[{"title":"首单立减10元","word":"首","color":"20AD20"}]},"products":[]}]}
     * error : 0
     * message : success
     */

    private DataBean data;
    private String error;
    private String message;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        private List<ItemsBean> items;

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            /**
             * waimai : {"shop_id":"63","cate_id":"20","title":"定旺厨具","logo":"http://www.juh365.com/attachs/photo/201805/20180515_7DDF4DF4772096D0932B3553A5385487.jpg","orders":"0","comments":"0","score":"0","min_amount":"5","freight":"3","pei_type":"0","pei_time":"30","yy_status":"1","is_new":"0","delcare":"所有商品不包安装，不含税票，非质量问题不予退换，谢谢理解！","lat":"24.771164","lng":"115.029953","orderby":"50","yysj_status":"1","yyst":"1","juli":"1489.85","juli_label":"1.5km","avg_score":"0","huodong":[{"title":"首单立减10元","word":"首","color":"20AD20"}]}
             * products : [{"product_id":"9587","photo":"http://www.juh365.com/attachs/photo/201807/20180730_5D57AE7A106E37AA89351C37CC4C4292.gif_thumb.jpg","price":"11.00"}]
             */

            private WaimaiBean waimai;
            private List<ProductsBean> products;

            public WaimaiBean getWaimai() {
                return waimai;
            }

            public void setWaimai(WaimaiBean waimai) {
                this.waimai = waimai;
            }

            public List<ProductsBean> getProducts() {
                return products;
            }

            public void setProducts(List<ProductsBean> products) {
                this.products = products;
            }

            public static class WaimaiBean {
                /**
                 * shop_id : 63
                 * cate_id : 20
                 * title : 定旺厨具
                 * logo : http://www.juh365.com/attachs/photo/201805/20180515_7DDF4DF4772096D0932B3553A5385487.jpg
                 * orders : 0
                 * comments : 0
                 * score : 0
                 * min_amount : 5
                 * freight : 3
                 * pei_type : 0
                 * pei_time : 30
                 * yy_status : 1
                 * is_new : 0
                 * delcare : 所有商品不包安装，不含税票，非质量问题不予退换，谢谢理解！
                 * lat : 24.771164
                 * lng : 115.029953
                 * orderby : 50
                 * yysj_status : 1
                 * yyst : 1
                 * juli : 1489.85
                 * juli_label : 1.5km
                 * avg_score : 0
                 * huodong : [{"title":"首单立减10元","word":"首","color":"20AD20"}]
                 */

                private String shop_id;
                private String cate_id;
                private String title;
                private String logo;
                private String orders;
                private String comments;
                private String score;
                private String min_amount;
                private String freight;
                private String pei_type;
                private String pei_time;
                private String yy_status;
                private String is_new;
                private String delcare;
                private String lat;
                private String lng;
                private String orderby;
                private String yysj_status;
                private String yyst;
                private String juli;
                private String juli_label;
                private String avg_score;
                private List<HuodongBean> huodong;

                public String getShop_id() {
                    return shop_id;
                }

                public void setShop_id(String shop_id) {
                    this.shop_id = shop_id;
                }

                public String getCate_id() {
                    return cate_id;
                }

                public void setCate_id(String cate_id) {
                    this.cate_id = cate_id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getLogo() {
                    return logo;
                }

                public void setLogo(String logo) {
                    this.logo = logo;
                }

                public String getOrders() {
                    return orders;
                }

                public void setOrders(String orders) {
                    this.orders = orders;
                }

                public String getComments() {
                    return comments;
                }

                public void setComments(String comments) {
                    this.comments = comments;
                }

                public String getScore() {
                    return score;
                }

                public void setScore(String score) {
                    this.score = score;
                }

                public String getMin_amount() {
                    return min_amount;
                }

                public void setMin_amount(String min_amount) {
                    this.min_amount = min_amount;
                }

                public String getFreight() {
                    return freight;
                }

                public void setFreight(String freight) {
                    this.freight = freight;
                }

                public String getPei_type() {
                    return pei_type;
                }

                public void setPei_type(String pei_type) {
                    this.pei_type = pei_type;
                }

                public String getPei_time() {
                    return pei_time;
                }

                public void setPei_time(String pei_time) {
                    this.pei_time = pei_time;
                }

                public String getYy_status() {
                    return yy_status;
                }

                public void setYy_status(String yy_status) {
                    this.yy_status = yy_status;
                }

                public String getIs_new() {
                    return is_new;
                }

                public void setIs_new(String is_new) {
                    this.is_new = is_new;
                }

                public String getDelcare() {
                    return delcare;
                }

                public void setDelcare(String delcare) {
                    this.delcare = delcare;
                }

                public String getLat() {
                    return lat;
                }

                public void setLat(String lat) {
                    this.lat = lat;
                }

                public String getLng() {
                    return lng;
                }

                public void setLng(String lng) {
                    this.lng = lng;
                }

                public String getOrderby() {
                    return orderby;
                }

                public void setOrderby(String orderby) {
                    this.orderby = orderby;
                }

                public String getYysj_status() {
                    return yysj_status;
                }

                public void setYysj_status(String yysj_status) {
                    this.yysj_status = yysj_status;
                }

                public String getYyst() {
                    return yyst;
                }

                public void setYyst(String yyst) {
                    this.yyst = yyst;
                }

                public String getJuli() {
                    return juli;
                }

                public void setJuli(String juli) {
                    this.juli = juli;
                }

                public String getJuli_label() {
                    return juli_label;
                }

                public void setJuli_label(String juli_label) {
                    this.juli_label = juli_label;
                }

                public String getAvg_score() {
                    return avg_score;
                }

                public void setAvg_score(String avg_score) {
                    this.avg_score = avg_score;
                }

                public List<HuodongBean> getHuodong() {
                    return huodong;
                }

                public void setHuodong(List<HuodongBean> huodong) {
                    this.huodong = huodong;
                }

                public static class HuodongBean {
                    /**
                     * title : 首单立减10元
                     * word : 首
                     * color : 20AD20
                     */

                    private String title;
                    private String word;
                    private String color;

                    public String getTitle() {
                        return title;
                    }

                    public void setTitle(String title) {
                        this.title = title;
                    }

                    public String getWord() {
                        return word;
                    }

                    public void setWord(String word) {
                        this.word = word;
                    }

                    public String getColor() {
                        return color;
                    }

                    public void setColor(String color) {
                        this.color = color;
                    }
                }
            }

            public static class ProductsBean {
                /**
                 * product_id : 9587
                 * photo : http://www.juh365.com/attachs/photo/201807/20180730_5D57AE7A106E37AA89351C37CC4C4292.gif_thumb.jpg
                 * price : 11.00
                 */

                private String product_id;
                private String photo;
                private String price;

                public String getProduct_id() {
                    return product_id;
                }

                public void setProduct_id(String product_id) {
                    this.product_id = product_id;
                }

                public String getPhoto() {
                    return photo;
                }

                public void setPhoto(String photo) {
                    this.photo = photo;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }
            }
        }
    }
}
